<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="application/xhtml+xml;charset=utf-8" />
        <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
		<title>{$tkd.title|parseTpl}</title>
		<meta name="keywords" content="{$tkd.keywords|parseTpl}" />
		<meta name="description" content="{$tkd.description|parseTpl}" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
		<meta name="format-detection" content="telephone=no" />
		<meta name="apple-mobile-web-app-capable" content="yes" />
		<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
		<link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno4/css/reset.css" />
		<link rel="stylesheet" type="text/css" href="{$kx.config.resurl}/template/kxmobileno4/css/sort.css" />
		<script language="javascript" type="text/javascript" src="{$kx.config.resurl}/template/kxmobileno4/js/bread.js"></script>
	</head>
	<body>
		<header class="channelHeader">
			<a href="javascript:history.go(-1);" class="iconback">
                <button style="background: #68aac2;border: 0;color: #fff;padding-top: 5px;font:17px/20px 宋体"><strong>返回</strong></button>
			</a>
            <strong>分类</strong>
			<a href="/" class="iconhome"> <button style="background: #68aac2;border: 0;color: #fff;padding-top: 5px;font:17px/20px 宋体""><strong>首页</strong></button>
			</a>
		</header>
		<nav class="sortChannel_nav">
			<a class="on" href="{link=novel.category.index}">全部</a>
            {block method="category.list" name=categoryList pid=1 withall=0}
            {loop=categoryList}
			<a class="" href="{link=novel.category.list categoryid=$loop.id key=$loop.key}">
                {$loop.name}
			</a>
            {/loop}
		</nav>
		<div class="recommend">
			<div id="main">
                {block method="pagination" name="paginate" page=$page limit=$pagesize count=$category.num maxpage=50 section=3}
                {block method="novel.list" name=list category=$category.id order=weekvisit num=$paginate.limit page=$paginate.current}
                {section loop=$list item=$loop}
				<div class="hot_sale">
					<a href="{link=novel.novel.index novelid=$loop.novel.id pinyin=$loop.novel.pinyin}">
						<img class="lazy" data-original="https://www.xs.la/BookFiles/BookImages/moqidongfang.jpg" src="{$loop.novel.cover}">
						<p class="title">
                            {$loop.novel.name}
						</p>
						<p class="author">
							作者：{$loop.author.name}
                        </p>
					</a>
					<p class="review">
						<span class="longview"><svg class="lnr lnr-chevron-down-circle">
								<use xlink:href="#lnr-chevron-down-circle"></use>
							</svg></span>
						简介：{$loop.novel.intro|showIntroLine}
				</div>
                {/section}
			</div>
			<p class="page">
				<input type="text" class="page_txt" value="{$paginate.page}/{$paginate.total}" size="5" name="txtPage" id="txtPage" />
				<a id="nextPage" href="{link=novel.category.list categoryid=$category.id key=$category.key page=$paginate.next}">
					[下页]</a>
			</p>
			<br />
		</div>
		<script type="text/javascript" src="Scripts/zepto.min.js"></script>
		<script language="javascript" type="text/javascript" src="Scripts/common.js"></script>
		<script language="javascript" type="text/javascript" src="Scripts/sort.js"></script>
		<script language="javascript" type="text/javascript" src="Scripts/lazyload.js"></script>
		<script type="text/javascript" language="javascript">
			$(function() {
				$("img.lazy").lazyload();
			});
		</script>
		{include file="/system/footer"}
	</body>
</html>
